package spi;

import com.alibaba.dubbo.common.URL;
import com.alibaba.dubbo.common.extension.Adaptive;
import com.alibaba.dubbo.common.extension.SPI;
import com.alibaba.dubbo.rpc.Invoker;

/**
 * @author fengbo
 * @date 2019/1/8
 */
@SPI("optimusPrime")
public interface Autobot {

    @Adaptive
    void sayHello1(URL url);

    @Adaptive("test")
    void sayHello2(Invoker invoker);

}
